package com.springboot.service;

import java.io.File;

import java.io.FileInputStream;

import java.io.FileOutputStream;

import java.io.IOException;

import java.math.BigDecimal;

import java.text.SimpleDateFormat;

import java.util.HashMap;

import java.util.Map;

import java.util.ArrayList;

import java.util.Calendar;

import java.util.Collections;

import java.util.Date;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.http.HttpSession;

import org.apache.commons.logging.Log;

import org.apache.commons.logging.LogFactory;

import com.springboot.dao.FurniturepinglunMapper;

import com.springboot.entity.Furniturepinglun;

import com.springboot.entity.FurniturepinglunExample;

import com.springboot.entity.*;
import com.springboot.dao.*;
import com.springboot.entity.Furniture;

import com.springboot.entity.FurnitureExample;

import com.springboot.dao.FurnitureMapper;

import com.springboot.entity.User;

import com.springboot.entity.UserExample;

import com.springboot.dao.UserMapper;

import com.springboot.entity.User;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;

import org.springframework.web.multipart.MultipartFile;

public interface FurniturepinglunServiceImp {


    //定义方法addfurniturepinglun接口,响应控制层添加家具评论请求

    public void addfurniturepinglun(HttpServletRequest request, HttpSession session);


    //定义useraddfurniturepinglun接口，在家具评论控制层中调用

    public void useraddfurniturepinglun(HttpServletRequest request, HttpSession session);


    // 定义userupdatefurniturepinglun方法

    public void userupdatefurniturepinglun(HttpServletRequest request, HttpSession session, int id);


    // 定义userfurniturepinglunmanage方法

    public void userfurniturepinglunmanage(HttpServletRequest request, HttpSession session);


    //定义useraddfurniturepinglunact接口，响应控制层添加请求

    public void useraddfurniturepinglunact(HttpServletRequest request, HttpSession session, Furniturepinglun furniturepinglun) throws IOException;


    //定义addfurniturepinglunact接口

    public void addfurniturepinglunact(HttpServletRequest request, HttpSession session, Furniturepinglun furniturepinglun) throws IOException; //定义addfurniturepinglunactjson接口

    public void addfurniturepinglunactjson(Furniturepinglun furniturepinglun) throws IOException;


    //定义furniturepinglunmanage方法响应页面请求

    public void furniturepinglunmanage(HttpServletRequest request, HttpSession session);


    // 定义 furniturepinglunview方法

    public void furniturepinglunview(HttpServletRequest request, HttpSession session);


    // 定义 updatefurniturepinglun方法

    public void updatefurniturepinglun(HttpServletRequest request, HttpSession session, int id);


    // 定义updatefurniturepinglunact处理家具评论修改

    public void updatefurniturepinglunact(HttpServletRequest request, Furniturepinglun furniturepinglun, HttpSession session) throws IOException; // 定义updatefurniturepinglunactjson处理家具评论修改

    public void updatefurniturepinglunactjson(Furniturepinglun furniturepinglun) throws IOException;


    // 定义userupdatefurniturepinglunact方法

    public void userupdatefurniturepinglunact(HttpServletRequest request, Furniturepinglun furniturepinglun, HttpSession session) throws IOException;


    // 定义deletefurniturepinglun,处理删除家具评论

    public void deletefurniturepinglun(HttpServletRequest request, HttpSession session, int id);


    // 定义userdeletefurniturepinglun方法

    public void userdeletefurniturepinglun(HttpServletRequest request, HttpSession session, int id);


    // 定义searchfurniturepinglun方法，处理搜索操作

    public void searchfurniturepinglun(HttpServletRequest request, HttpSession session, String search);


    // 定义searchfurniturepinglunjson方法，处理搜索操作

    public Map searchfurniturepinglunjson(String search);


    // 定义FurniturepinglunpinglunMapper

    public void furniturepinglundetails(HttpServletRequest request, HttpSession session, int id);


    // 定义Furniturepinglun详情方法

    public Map furniturepinglundetailsjson(int id);


}

